]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
power-status: Use correct DBus signatures
authorFlorian Müllner <fmuellner@gnome.org>
Mon, 26 Sep 2011 11:51:48 +0000 (13:51 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Wed, 28 Sep 2011 17:56:23 +0000 (19:56 +0200)
Devices are represented as susdut, not susbut (i.e. the percentage
is a double rather than a boolean) - apparently the wrong signature
works, but correct it anyway.

https://bugzilla.gnome.org/show_bug.cgi?id=660122

js/ui/status/power.js

index 6e319e852575065013236916283f3597855f5a72..a48aac592d97380c9d297813ebc3711e77196a18 100644 (file)
@@ -43,8 +43,8 @@ const UPDeviceState = {
 const PowerManagerInterface = {
     name: 'org.gnome.SettingsDaemon.Power',
     methods: [
-        { name: 'GetDevices', inSignature: '', outSignature: 'a(susbut)' },
-        { name: 'GetPrimaryDevice', inSignature: '', outSignature: '(susbut)' },
+        { name: 'GetDevices', inSignature: '', outSignature: 'a(susdut)' },
+        { name: 'GetPrimaryDevice', inSignature: '', outSignature: '(susdut)' },
         ],
     signals: [
         { name: 'Changed', inSignature: '' },